﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hospital_registration_system.Entity
{
    /// <summary>
    /// 评价表实体类
    /// </summary>
    public class Appraise
    {
        private int id;         // id号
        private String CREATED_BY;  // 创建人
        private DateTime CREATED_TIME;// 创建时间
        private String UPDATED_BY;  // 更新人
        private DateTime UPDATED_TIME;// 更新时间
        private int patient_id;  // 病人id
        private int state;      // 状态
        private String content; // 内容
        private decimal star_level;// 星级
        private int record_id;//就诊记录id

        public Appraise()
        {
        }

        public Appraise(int id, string cREATED_BY, DateTime cREATED_TIME, string uPDATED_BY, DateTime uPDATED_TIME, int patient_id, int state, string content, decimal star_level,int record_id)
        {
            this.id = id;
            CREATED_BY = cREATED_BY;
            CREATED_TIME = cREATED_TIME;
            UPDATED_BY = uPDATED_BY;
            UPDATED_TIME = uPDATED_TIME;
            this.patient_id = patient_id;
            this.state = state;
            this.content = content;
            this.star_level = star_level;
            this.record_id = record_id;
        }

        public override string ToString()
        {
            return base.ToString();
        }
        public int Id { get => id; set => id = value; }
        public string CREATED_BY1 { get => CREATED_BY; set => CREATED_BY = value; }
        public DateTime CREATED_TIME1 { get => CREATED_TIME; set => CREATED_TIME = value; }
        public string UPDATED_BY1 { get => UPDATED_BY; set => UPDATED_BY = value; }
        public DateTime UPDATED_TIME1 { get => UPDATED_TIME; set => UPDATED_TIME = value; }
        public int Patient_id { get => patient_id; set => patient_id = value; }
        public int State { get => state; set => state = value; }
        public string Content { get => content; set => content = value; }
        public decimal Star_level { get => star_level; set => star_level = value; }
        public int Record_id { get => record_id; set => record_id = value; }
    }
}
